package com.intelli.eve.core.api.message;

/**
 * Author: Sergey42
 * Date: 21.12.2014 19:41
 */
public abstract class AbstractMessage<H extends Header> implements Message<H> {

    protected H header;

    public AbstractMessage() {
    }

    public AbstractMessage(H header) {
        setHeader(header);
    }

    @Override
    public H getHeader() {
        return header;
    }

    public void setHeader(H header) {
        this.header = header;
    }
}
